package com.demo.constant;

/**
 * @author gxd
 * @since 2025/5/28
 */
public class CacheConstants {

    /** 部门平铺key */
    public static final String DEPT_ONE_KEY = "sys:dept:one:";

    /** 部门树形结构key */
    public static final String DEPT_TREE_KEY = "sys:dept:tree";

    /** 字典平铺key */
    public static final String DICT_ONE_KEY = "sys:dict:one:";

    /** 字典类型分组key */
    public static final String DICT_GROUP_KEY = "sys:dict:group:";

    /** 字典树形结构key */
    public static final String DICT_TREE_KEY = "sys:dict:tree";

    /** 用户性别code */
    public static final String USER_SEX_CODE = "USER-SEX";

    /** 删除标识code */
    public static final String DELETE_FLAG_CODE = "DELETE-FLAG";

    /** 24小时每半小时用户量统计 */
    public static final String USER_COUNT_24_KEY = "sys:user:count";

    /** 字典锁key */
    public static final String DICT_LOCK_KEY = "dict:lock:";

    /** 部门锁key */
    public static final String DEPT_LOCK_KEY = "dept:lock:";

    /** 锁key */
    public static final String LOCK_KEY = "lock:";

    /** 序号key */
    public static final String SEQ_KEY = "seq:";
}
